package com.ids.bean;

public class UserInfo {
	
	private String role;
	private String userFullName;
	private int noOfAttempts;
	private int designationId;
	private int reportingTo;
	private String empCode;
	private boolean isLeadOrManager;
	
	
	public boolean isLeadOrManager() {
		if(getDesignationId()>=3){
			isLeadOrManager = true;
		}else{
			isLeadOrManager=false;
		}
		return isLeadOrManager;
	}
	
	public String getEmpCode() {
		return empCode;
	}
	
	public void setEmpCode(String empCode) {
		this.empCode = empCode;
	}
	
	public int getDesignationId() {
		return designationId;
	}
	
	public void setDesignationId(int designationId) {
		this.designationId = designationId;
	}
	
	public int getNoOfAttempts() {
		return noOfAttempts;
	}
	
	public void setNoOfAttempts(int noOfAttempts) {
		this.noOfAttempts = noOfAttempts;
	}
	
	public int getReportingTo() {
		return reportingTo;
	}
	
	public void setReportingTo(int reportingTo) {
		this.reportingTo = reportingTo;
	}
	
	public String getRole() {
		return role;
	}
	
	public void setRole(String role) {
		this.role = role;
	}
	
	public String getUserFullName() {
		return userFullName;
	}
	
	public void setUserFullName(String userFullName) {
		this.userFullName = userFullName;
	}

}
